package com.lalameow.packet.packImpl;

import com.lalameow.packet.BasePack;
import com.lalameow.packet.enumtype.PackType;
import com.lalameow.serverlogingate.LogingateApplication;
import io.netty.channel.ChannelHandlerContext;

/**
 * Created with IntelliJ IDEA.
 * 创建人: 陈刚
 * 日期: 2018/5/11
 * 时间: 9:58
 * 功能：请进行修改
 */
public class McServerConnectionPack extends PacketAbstract {
    @Override
    public BasePack revice(ChannelHandlerContext ctx) {
        BasePack basePack=new BasePack();
        basePack.setPackType(PackType.MCSERVERCONNECTION);
        basePack.setKey(LogingateApplication.privateKey);
        return basePack;
    }
}
